package com.youi.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 导出售后订单VO
 * @Author: winty
 * @Date: 2020/4/20 9:53
 */
@Data
@ExcelTarget(value = "exportRefundOrderVO", height = 14.0)
public class ExportRefundOrderVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 退款单号
     */
    @Excel(name = "退款单号", width = 19)
    private String refundOrderNo;
    /**
     * 原订单号
     */
    @Excel(name = "原订单号", width = 19)
    private String orderNo;

    /**
     * 退款类型 0-易宝退款
     */
    private Integer refundType;

    @Excel(name = "退款类型", width = 10)
    private String refundTypeTxt;

    /**
     * 退款方式 0-整单退
     */
    private Integer refundMethods;

    @Excel(name = "退款方式", width = 10)
    private String refundMethodsTxt;

    /**
     * 退款状态 -2退款失败-1未收货 0退款中 1退款成功
     */
    private Integer status;

    @Excel(name = "退款状态", width = 10)
    private String statusTxt;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称", width = 20)
    private String goodsName;
    /**
     * 商品代码
     */
    @Excel(name = "商品代码", width = 11)
    private String goodsNo;

    /**
     * 商品数量
     */
    @Excel(name = "商品数量", width = 8)
    private Integer goodsCount;

    /**
     * 商家名称
     */
    @Excel(name = "商家名称", width = 20)
    private String merchantName;
    /**
     * 商家编码
     */
    @Excel(name = "商家编码", width = 10)
    private String merchantCode;

    /**
     * 审核状态 -1不通过 0未审核 1通过 2关闭订单
     */
    private Integer applyStatus;

    @Excel(name = "审核状态", width = 10)
    private String applyStatusTxt;

    /**
     * 收货状态 -1未收货 0已收货 1 不退货
     */
    private Integer takeStatus;

    @Excel(name = "收货状态", width = 10)
    private String takeStatusTxt;

    /**
     * 付款金额
     */
    @Excel(name = "付款金额", width = 10)
    private Double payAmount;

    /**
     * 退款金额
     */
    @Excel(name = "退款金额", width = 10)
    private Double refundAmount;

    /**
     * 退款原因
     */
    @Excel(name = "退款原因", width = 40)
    private String refundReason;

    /**
     * 退款人手机号
     */
    @Excel(name = "手机号", width = 12)
    private String phone;

    /**
     * 申请时间
     */
    @Excel(name = "申请时间", format = "yyyy-MM-dd HH:mm:ss", width = 16)
    private Date gmtCreated;

    /**
     * 审核时间
     */
    @Excel(name = "审核时间", format = "yyyy-MM-dd HH:mm:ss", width = 16)
    private Date gmtApply;

    /**
     * 不通过的原因
     */
    @Excel(name = "不通过的原因", width = 40)
    private String refuseReason;

}
